package work.huangxin.share.service;

import com.github.pagehelper.PageInfo;
import work.huangxin.share.domain.schedule.CampusInfo;

import java.util.List;

/**
 * @author 季台星
 * @Date 2023 04 26 12 52
 */
public interface CampusInfoService {
    List<CampusInfo> getCampusInfoList();
    PageInfo<CampusInfo> getCampusInfoListByPage(Integer pageNo,Integer pageSize);

    int addCampusById(CampusInfo campusInfo);

    int deletedCampusInfo(Integer id);

    int updateByPrimaryKey(CampusInfo campusInfo);

    CampusInfo getCampusInfoById(Long campusId);

    PageInfo<CampusInfo> searchCampusInfoByKeyWord(Integer pageNo, Integer pageSize, String keyword);
}
